package cn.gok.staticProxy;

/**
 * @Author: chenfan
 * @Description:
 */
public class Test {
    public static void main(String[] args) {

        //获取代理对象
//        UserService userService = new UserServiceProxy1();
//
//        userService.getUser();
//
//        userService.updateUser();


        //获取代理对象
        UserService userService = new UserServiceProxy2();
        userService.getUser();
        userService.updateUser();


    }
}
